Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.signature.config.default

Documentation

Contribution of default values for the certificates creation service. Must be overridden by a project-specific component to provide custom values.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.signature.config.default">

  <documentation>
    Contribution of default values for the certificates
    creation service. Must be overridden by a project-specific component
    to provide custom values.
  </documentation>

  <extension target="org.nuxeo.ecm.platform.signature.api.pki.RootService"
             point="rootconfig">
    <documentation>
      The configuration of the server root certificate.
    </documentation>
    <configuration>
      <rootKeystoreFilePath>pdfca-keystore.jks</rootKeystoreFilePath>
      <rootKeystorePassword>********</rootKeystorePassword>
      <rootCertificateAlias>pdfcakey</rootCertificateAlias>
      <!-- or proper certificate -->
      <rootKeyAlias>pdfcakey</rootKeyAlias>
      <rootKeyPassword>********</rootKeyPassword>
    </configuration>
  </extension>

  <extension target="org.nuxeo.ecm.platform.signature.api.user.CUserService"
             point="cuserdescriptor">
    <documentation>
      The parameters for user certificate creation.
    </documentation>
    <userDescriptor>
      <countryCode>US</countryCode>
      <organization>Example Organization</organization>
      <organizationalUnit>Users</organizationalUnit>
    </userDescriptor>
  </extension>

  <extension
          target="org.nuxeo.ecm.platform.signature.api.sign.SignatureService"
          point="signature">
    <configuration>
      <reason>This document signed as an example.
      </reason>
      <layout id="defaultConfig" lines="5" columns="3" startLine="1" startColumn="1" textSize="10"/>
    </configuration>
  </extension>

</component>